<div class="row">
	{if $onlineUsers}
		{foreach from=$onlineUsers item='user'}
			<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
				<div class="testimonial item">
					<div class="author">
						{if $user.image}
							<div class="testimonial-image ">
								<a href="{$user.url}"><img src="/uploads/pics/{$user.image}"></a>
							</div>
						{/if}
						<div class="testimonial-author-info">
							<a href="{$user.url}"><span class="color">{$user.username}</span></a>
							{if $user.uid != $loggedUser['uid']}
								<a href="{$user.messageUrl}"><span class="nocolor">poslať správu</span></a>
							{/if}
						</div>
					</div>
				</div>
			</div>
		{/foreach}
	{else}
		<p>Nikto nie je online</p>
	{/if}
</div>